import request from 'request';

export const fetchData = query => {
  return request({
    url: '../assets/table.json',
    method: 'get',
    params: query
  });
};
